home *** CD-ROM | disk | FTP | other *** search
/ Apple WWDC 1996 / WWDC96_1996 (CD).toast / Technology Materials / MacOS 8 Resources / Developer Tools / Mac OS 8 Interfaces & Libraries / Interfaces / CIncludes / HIScrollingPanels.h < prev    next >
C/C++ Source or Header  |  1996-05-01  |  25KB  |  561 lines

  1.  
  2. /*
  3.  * This file was generated by the SOM Compiler.
  4.  * FileName: HIScrollingPanels.h.
  5.  * Generated using:
  6.  *     SOM Precompiler somipc: 2.18
  7.  *     SOM Emitter emith.dll: 2.33
  8.  */
  9.  
  10. #ifndef SOM_HIScrollingPanel_h
  11. #define SOM_HIScrollingPanel_h
  12.  
  13.  
  14. /*
  15.  * Passthru lines: File: "C.h", "before"
  16.  */
  17. #include <HIScrollingPanelTypes.h>
  18.  
  19. #include <som.h>
  20.  
  21. /*
  22.  * -- This emitter treats Method Tokens as Thunks by default.
  23.  * -- Use the sc modifier "nothunks" to change this default
  24.  */
  25. #undef somresolve_
  26. #define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
  27.  
  28. /*
  29.  * Define the class name as an object type
  30.  */
  31. #ifndef HIScrollingPanel
  32. #define HIScrollingPanel SOMObject
  33. #endif
  34. #include <HIPanels.h>
  35.  
  36. /*
  37.  * Start of user-defined types:
  38.  */
  39. #ifndef SOMClass
  40.     #define SOMClass SOMObject
  41. #endif /* SOMClass */
  42. #ifndef SOMObject
  43.     #define SOMObject SOMObject
  44. #endif /* SOMObject */
  45. #ifndef HIWindow
  46.     #define HIWindow SOMObject
  47. #endif /* HIWindow */
  48. #ifndef HIEmbeddingPanel
  49.     #define HIEmbeddingPanel SOMObject
  50. #endif /* HIEmbeddingPanel */
  51. #ifndef HIMenu
  52.     #define HIMenu SOMObject
  53. #endif /* HIMenu */
  54.  
  55. /*
  56.  * End of user-defined types.
  57.  */
  58.  
  59. #define HIScrollingPanel_MajorVersion 0
  60. #define HIScrollingPanel_MinorVersion 0
  61.  
  62. /*
  63.  * External name shortening if required
  64.  */
  65. #ifdef SOM_USE_SHORT_EXTERNAL_NAMES
  66. #define HIScrollingPanelClassData d
  67. #endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
  68. /*--------------Migration------------*/
  69.  
  70. #ifdef OLDIBMSOMAPISUPPORT
  71. #define HIScrollingPanel_classObj somNewClassReference(HIScrollingPanel)
  72. #define _HIScrollingPanel HIScrollingPanel_classObj
  73. #define HIScrollingPanelCClassData HIScrollingPanelClassData
  74. #define HIScrollingPanelNewClass(major,minor) somNewVersionedClassReference(HIScrollingPanel,major,minor)
  75. #endif
  76.  
  77. /* define xxxMetaClass macro to facilitate (cls ## MetaClass) */
  78. #define HIScrollingPanelMetaClass SOMClass
  79.  
  80. #if PRAGMA_ALIGN_SUPPORTED
  81. #  pragma options align=power
  82. #endif
  83.  
  84. /*
  85.  * Declare the class data structure
  86.  */
  87. SOMEXTERN struct HIScrollingPanelClassDataStructure {
  88. #ifdef OLDIBMSOMAPISUPPORT
  89.     SOMAny            *classObject;    /* always zero, use somNewClassReference instead */
  90. #else
  91.     long zero;
  92. #endif
  93.     somStaticClassInfo *sci;
  94.     somDToken        instanceDataToken;
  95.     long reserved [3];
  96.     somMToken InitScrollingPanel;
  97.     somMToken SetScrolledPanel;
  98.     somMToken GetScrolledPanel;
  99.     somMToken GetScrolledPanelBoundingRect;
  100.     somMToken SetVerticalScrollValue;
  101.     somMToken GetVerticalScrollValue;
  102.     somMToken SetHorizontalScrollValue;
  103.     somMToken GetHorizontalScrollValue;
  104.     somMToken SetVerticalScrollIncrement;
  105.     somMToken GetScrollBarElementSize;
  106.     somMToken GetVerticalScrollIncrement;
  107.     somMToken SetHorizontalScrollIncrement;
  108.     somMToken GetHorizontalScrollIncrement;
  109.     somMToken ShowVerticalScrollBar;
  110.     somMToken HideVerticalScrollBar;
  111.     somMToken IsVerticalScrollBarVisible;
  112.     somMToken ShowHorizontalScrollBar;
  113.     somMToken HideHorizontalScrollBar;
  114.     somMToken IsHorizontalScrollBarVisible;
  115. } SOMDLINK HIScrollingPanelClassData;
  116.  
  117. #if PRAGMA_ALIGN_SUPPORTED
  118. #  pragma options align=reset
  119. #endif
  120.  
  121. #if !defined(HIScrollingPanel_Class_Source) && !defined(SOM_Module_hiscrollingpanels_Source)
  122. #if PRAGMA_IMPORT_SUPPORTED
  123. #pragma import list HIScrollingPanelClassData
  124. #endif
  125. #endif
  126.  
  127.  
  128. /*
  129.  * New macro for HIScrollingPanel
  130.  */
  131. #define HIScrollingPanelNew() somNewObject(HIScrollingPanel)
  132.  
  133. /*
  134.  * New Method: InitScrollingPanel
  135.  */
  136. typedef OSStatus   (SOMLINK *somTD_HIScrollingPanel_InitScrollingPanel)(HIScrollingPanel *somSelf, Environment *ev,
  137.         RefLabel* identifier,
  138.         HIWindow* window,
  139.         Rect* boundingRect,
  140.         HIPanel* scrolledPanel,
  141.         boolean visibleVerticalScrollBar,
  142.         boolean visibleHorizontalScrollBar,
  143.         boolean makeRoomForGrowBox);
  144. #define somMD_HIScrollingPanel_InitScrollingPanel "::HIScrollingPanel::InitScrollingPanel"
  145. #define HIScrollingPanel_InitScrollingPanel(somSelf,ev,identifier,window,boundingRect,scrolledPanel,visibleVerticalScrollBar,visibleHorizontalScrollBar,makeRoomForGrowBox) \
  146.     (SOM_Resolve(somSelf, HIScrollingPanel, InitScrollingPanel) \
  147.     (somSelf,ev,identifier,window,boundingRect,scrolledPanel,visibleVerticalScrollBar,visibleHorizontalScrollBar,makeRoomForGrowBox))
  148. #ifndef SOMGD_InitScrollingPanel
  149.     #if defined _InitScrollingPanel || defined __InitScrollingPanel
  150.         #undef _InitScrollingPanel
  151.         #undef __InitScrollingPanel
  152.         #define SOMGD_InitScrollingPanel 1
  153.     #else
  154.         #define _InitScrollingPanel HIScrollingPanel_InitScrollingPanel
  155.     #endif /* _InitScrollingPanel */
  156. #endif /* SOMGD_InitScrollingPanel */
  157.  
  158. /*
  159.  * New Method: SetScrolledPanel
  160.  */
  161. typedef void   (SOMLINK *somTD_HIScrollingPanel_SetScrolledPanel)(HIScrollingPanel *somSelf, Environment *ev,
  162.         HIPanel* scrolledPanel);
  163. #define somMD_HIScrollingPanel_SetScrolledPanel "::HIScrollingPanel::SetScrolledPanel"
  164. #define HIScrollingPanel_SetScrolledPanel(somSelf,ev,scrolledPanel) \
  165.     (SOM_Resolve(somSelf, HIScrollingPanel, SetScrolledPanel) \
  166.     (somSelf,ev,scrolledPanel))
  167. #ifndef SOMGD_SetScrolledPanel
  168.     #if defined _SetScrolledPanel || defined __SetScrolledPanel
  169.         #undef _SetScrolledPanel
  170.         #undef __SetScrolledPanel
  171.         #define SOMGD_SetScrolledPanel 1
  172.     #else
  173.         #define _SetScrolledPanel HIScrollingPanel_SetScrolledPanel
  174.     #endif /* _SetScrolledPanel */
  175. #endif /* SOMGD_SetScrolledPanel */
  176.  
  177. /*
  178.  * New Method: GetScrolledPanel
  179.  */
  180. typedef HIPanel*   (SOMLINK *somTD_HIScrollingPanel_GetScrolledPanel)(HIScrollingPanel *somSelf, Environment *ev);
  181. #define somMD_HIScrollingPanel_GetScrolledPanel "::HIScrollingPanel::GetScrolledPanel"
  182. #define HIScrollingPanel_GetScrolledPanel(somSelf,ev) \
  183.     (SOM_Resolve(somSelf, HIScrollingPanel, GetScrolledPanel) \
  184.     (somSelf,ev))
  185. #ifndef SOMGD_GetScrolledPanel
  186.     #if defined _GetScrolledPanel || defined __GetScrolledPanel
  187.         #undef _GetScrolledPanel
  188.         #undef __GetScrolledPanel
  189.         #define SOMGD_GetScrolledPanel 1
  190.     #else
  191.         #define _GetScrolledPanel HIScrollingPanel_GetScrolledPanel
  192.     #endif /* _GetScrolledPanel */
  193. #endif /* SOMGD_GetScrolledPanel */
  194.  
  195. /*
  196.  * New Method: GetScrolledPanelBoundingRect
  197.  */
  198. typedef void   (SOMLINK *somTD_HIScrollingPanel_GetScrolledPanelBoundingRect)(HIScrollingPanel *somSelf, Environment *ev,
  199.         Rect* scrolledPanelBoundingRect);
  200. #define somMD_HIScrollingPanel_GetScrolledPanelBoundingRect "::HIScrollingPanel::GetScrolledPanelBoundingRect"
  201. #define HIScrollingPanel_GetScrolledPanelBoundingRect(somSelf,ev,scrolledPanelBoundingRect) \
  202.     (SOM_Resolve(somSelf, HIScrollingPanel, GetScrolledPanelBoundingRect) \
  203.     (somSelf,ev,scrolledPanelBoundingRect))
  204. #ifndef SOMGD_GetScrolledPanelBoundingRect
  205.     #if defined _GetScrolledPanelBoundingRect || defined __GetScrolledPanelBoundingRect
  206.         #undef _GetScrolledPanelBoundingRect
  207.         #undef __GetScrolledPanelBoundingRect
  208.         #define SOMGD_GetScrolledPanelBoundingRect 1
  209.     #else
  210.         #define _GetScrolledPanelBoundingRect HIScrollingPanel_GetScrolledPanelBoundingRect
  211.     #endif /* _GetScrolledPanelBoundingRect */
  212. #endif /* SOMGD_GetScrolledPanelBoundingRect */
  213.  
  214. /*
  215.  * New Method: SetVerticalScrollValue
  216.  */
  217. typedef void   (SOMLINK *somTD_HIScrollingPanel_SetVerticalScrollValue)(HIScrollingPanel *somSelf, Environment *ev,
  218.         SInt32 verticalValue);
  219. #define somMD_HIScrollingPanel_SetVerticalScrollValue "::HIScrollingPanel::SetVerticalScrollValue"
  220. #define HIScrollingPanel_SetVerticalScrollValue(somSelf,ev,verticalValue) \
  221.     (SOM_Resolve(somSelf, HIScrollingPanel, SetVerticalScrollValue) \
  222.     (somSelf,ev,verticalValue))
  223. #ifndef SOMGD_SetVerticalScrollValue
  224.     #if defined _SetVerticalScrollValue || defined __SetVerticalScrollValue
  225.         #undef _SetVerticalScrollValue
  226.         #undef __SetVerticalScrollValue
  227.         #define SOMGD_SetVerticalScrollValue 1
  228.     #else
  229.         #define _SetVerticalScrollValue HIScrollingPanel_SetVerticalScrollValue
  230.     #endif /* _SetVerticalScrollValue */
  231. #endif /* SOMGD_SetVerticalScrollValue */
  232.  
  233. /*
  234.  * New Method: GetVerticalScrollValue
  235.  */
  236. typedef SInt32   (SOMLINK *somTD_HIScrollingPanel_GetVerticalScrollValue)(HIScrollingPanel *somSelf, Environment *ev);
  237. #define somMD_HIScrollingPanel_GetVerticalScrollValue "::HIScrollingPanel::GetVerticalScrollValue"
  238. #define HIScrollingPanel_GetVerticalScrollValue(somSelf,ev) \
  239.     (SOM_Resolve(somSelf, HIScrollingPanel, GetVerticalScrollValue) \
  240.     (somSelf,ev))
  241. #ifndef SOMGD_GetVerticalScrollValue
  242.     #if defined _GetVerticalScrollValue || defined __GetVerticalScrollValue
  243.         #undef _GetVerticalScrollValue
  244.         #undef __GetVerticalScrollValue
  245.         #define SOMGD_GetVerticalScrollValue 1
  246.     #else
  247.         #define _GetVerticalScrollValue HIScrollingPanel_GetVerticalScrollValue
  248.     #endif /* _GetVerticalScrollValue */
  249. #endif /* SOMGD_GetVerticalScrollValue */
  250.  
  251. /*
  252.  * New Method: SetHorizontalScrollValue
  253.  */
  254. typedef void   (SOMLINK *somTD_HIScrollingPanel_SetHorizontalScrollValue)(HIScrollingPanel *somSelf, Environment *ev,
  255.         SInt32 horizontalValue);
  256. #define somMD_HIScrollingPanel_SetHorizontalScrollValue "::HIScrollingPanel::SetHorizontalScrollValue"
  257. #define HIScrollingPanel_SetHorizontalScrollValue(somSelf,ev,horizontalValue) \
  258.     (SOM_Resolve(somSelf, HIScrollingPanel, SetHorizontalScrollValue) \
  259.     (somSelf,ev,horizontalValue))
  260. #ifndef SOMGD_SetHorizontalScrollValue
  261.     #if defined _SetHorizontalScrollValue || defined __SetHorizontalScrollValue
  262.         #undef _SetHorizontalScrollValue
  263.         #undef __SetHorizontalScrollValue
  264.         #define SOMGD_SetHorizontalScrollValue 1
  265.     #else
  266.         #define _SetHorizontalScrollValue HIScrollingPanel_SetHorizontalScrollValue
  267.     #endif /* _SetHorizontalScrollValue */
  268. #endif /* SOMGD_SetHorizontalScrollValue */
  269.  
  270. /*
  271.  * New Method: GetHorizontalScrollValue
  272.  */
  273. typedef SInt32   (SOMLINK *somTD_HIScrollingPanel_GetHorizontalScrollValue)(HIScrollingPanel *somSelf, Environment *ev);
  274. #define somMD_HIScrollingPanel_GetHorizontalScrollValue "::HIScrollingPanel::GetHorizontalScrollValue"
  275. #define HIScrollingPanel_GetHorizontalScrollValue(somSelf,ev) \
  276.     (SOM_Resolve(somSelf, HIScrollingPanel, GetHorizontalScrollValue) \
  277.     (somSelf,ev))
  278. #ifndef SOMGD_GetHorizontalScrollValue
  279.     #if defined _GetHorizontalScrollValue || defined __GetHorizontalScrollValue
  280.         #undef _GetHorizontalScrollValue
  281.         #undef __GetHorizontalScrollValue
  282.         #define SOMGD_GetHorizontalScrollValue 1
  283.     #else
  284.         #define _GetHorizontalScrollValue HIScrollingPanel_GetHorizontalScrollValue
  285.     #endif /* _GetHorizontalScrollValue */
  286. #endif /* SOMGD_GetHorizontalScrollValue */
  287.  
  288. /*
  289.  * New Method: SetVerticalScrollIncrement
  290.  */
  291. typedef void   (SOMLINK *somTD_HIScrollingPanel_SetVerticalScrollIncrement)(HIScrollingPanel *somSelf, Environment *ev,
  292.         UInt32 increment);
  293. #define somMD_HIScrollingPanel_SetVerticalScrollIncrement "::HIScrollingPanel::SetVerticalScrollIncrement"
  294. #define HIScrollingPanel_SetVerticalScrollIncrement(somSelf,ev,increment) \
  295.     (SOM_Resolve(somSelf, HIScrollingPanel, SetVerticalScrollIncrement) \
  296.     (somSelf,ev,increment))
  297. #ifndef SOMGD_SetVerticalScrollIncrement
  298.     #if defined _SetVerticalScrollIncrement || defined __SetVerticalScrollIncrement
  299.         #undef _SetVerticalScrollIncrement
  300.         #undef __SetVerticalScrollIncrement
  301.         #define SOMGD_SetVerticalScrollIncrement 1
  302.     #else
  303.         #define _SetVerticalScrollIncrement HIScrollingPanel_SetVerticalScrollIncrement
  304.     #endif /* _SetVerticalScrollIncrement */
  305. #endif /* SOMGD_SetVerticalScrollIncrement */
  306.  
  307. /*
  308.  * New Method: GetVerticalScrollIncrement
  309.  */
  310. typedef UInt32   (SOMLINK *somTD_HIScrollingPanel_GetVerticalScrollIncrement)(HIScrollingPanel *somSelf, Environment *ev);
  311. #define somMD_HIScrollingPanel_GetVerticalScrollIncrement "::HIScrollingPanel::GetVerticalScrollIncrement"
  312. #define HIScrollingPanel_GetVerticalScrollIncrement(somSelf,ev) \
  313.     (SOM_Resolve(somSelf, HIScrollingPanel, GetVerticalScrollIncrement) \
  314.     (somSelf,ev))
  315. #ifndef SOMGD_GetVerticalScrollIncrement
  316.     #if defined _GetVerticalScrollIncrement || defined __GetVerticalScrollIncrement
  317.         #undef _GetVerticalScrollIncrement
  318.         #undef __GetVerticalScrollIncrement
  319.         #define SOMGD_GetVerticalScrollIncrement 1
  320.     #else
  321.         #define _GetVerticalScrollIncrement HIScrollingPanel_GetVerticalScrollIncrement
  322.     #endif /* _GetVerticalScrollIncrement */
  323. #endif /* SOMGD_GetVerticalScrollIncrement */
  324.  
  325. /*
  326.  * New Method: SetHorizontalScrollIncrement
  327.  */
  328. typedef void   (SOMLINK *somTD_HIScrollingPanel_SetHorizontalScrollIncrement)(HIScrollingPanel *somSelf, Environment *ev,
  329.         UInt32 increment);
  330. #define somMD_HIScrollingPanel_SetHorizontalScrollIncrement "::HIScrollingPanel::SetHorizontalScrollIncrement"
  331. #define HIScrollingPanel_SetHorizontalScrollIncrement(somSelf,ev,increment) \
  332.     (SOM_Resolve(somSelf, HIScrollingPanel, SetHorizontalScrollIncrement) \
  333.     (somSelf,ev,increment))
  334. #ifndef SOMGD_SetHorizontalScrollIncrement
  335.     #if defined _SetHorizontalScrollIncrement || defined __SetHorizontalScrollIncrement
  336.         #undef _SetHorizontalScrollIncrement
  337.         #undef __SetHorizontalScrollIncrement
  338.         #define SOMGD_SetHorizontalScrollIncrement 1
  339.     #else
  340.         #define _SetHorizontalScrollIncrement HIScrollingPanel_SetHorizontalScrollIncrement
  341.     #endif /* _SetHorizontalScrollIncrement */
  342. #endif /* SOMGD_SetHorizontalScrollIncrement */
  343.  
  344. /*
  345.  * New Method: GetHorizontalScrollIncrement
  346.  */
  347. typedef UInt32   (SOMLINK *somTD_HIScrollingPanel_GetHorizontalScrollIncrement)(HIScrollingPanel *somSelf, Environment *ev);
  348. #define somMD_HIScrollingPanel_GetHorizontalScrollIncrement "::HIScrollingPanel::GetHorizontalScrollIncrement"
  349. #define HIScrollingPanel_GetHorizontalScrollIncrement(somSelf,ev) \
  350.     (SOM_Resolve(somSelf, HIScrollingPanel, GetHorizontalScrollIncrement) \
  351.     (somSelf,ev))
  352. #ifndef SOMGD_GetHorizontalScrollIncrement
  353.     #if defined _GetHorizontalScrollIncrement || defined __GetHorizontalScrollIncrement
  354.         #undef _GetHorizontalScrollIncrement
  355.         #undef __GetHorizontalScrollIncrement
  356.         #define SOMGD_GetHorizontalScrollIncrement 1
  357.     #else
  358.         #define _GetHorizontalScrollIncrement HIScrollingPanel_GetHorizontalScrollIncrement
  359.     #endif /* _GetHorizontalScrollIncrement */
  360. #endif /* SOMGD_GetHorizontalScrollIncrement */
  361.  
  362. /*
  363.  * New Method: ShowVerticalScrollBar
  364.  */
  365. typedef void   (SOMLINK *somTD_HIScrollingPanel_ShowVerticalScrollBar)(HIScrollingPanel *somSelf, Environment *ev);
  366. #define somMD_HIScrollingPanel_ShowVerticalScrollBar "::HIScrollingPanel::ShowVerticalScrollBar"
  367. #define HIScrollingPanel_ShowVerticalScrollBar(somSelf,ev) \
  368.     (SOM_Resolve(somSelf, HIScrollingPanel, ShowVerticalScrollBar) \
  369.     (somSelf,ev))
  370. #ifndef SOMGD_ShowVerticalScrollBar
  371.     #if defined _ShowVerticalScrollBar || defined __ShowVerticalScrollBar
  372.         #undef _ShowVerticalScrollBar
  373.         #undef __ShowVerticalScrollBar
  374.         #define SOMGD_ShowVerticalScrollBar 1
  375.     #else
  376.         #define _ShowVerticalScrollBar HIScrollingPanel_ShowVerticalScrollBar
  377.     #endif /* _ShowVerticalScrollBar */
  378. #endif /* SOMGD_ShowVerticalScrollBar */
  379.  
  380. /*
  381.  * New Method: HideVerticalScrollBar
  382.  */
  383. typedef void   (SOMLINK *somTD_HIScrollingPanel_HideVerticalScrollBar)(HIScrollingPanel *somSelf, Environment *ev);
  384. #define somMD_HIScrollingPanel_HideVerticalScrollBar "::HIScrollingPanel::HideVerticalScrollBar"
  385. #define HIScrollingPanel_HideVerticalScrollBar(somSelf,ev) \
  386.     (SOM_Resolve(somSelf, HIScrollingPanel, HideVerticalScrollBar) \
  387.     (somSelf,ev))
  388. #ifndef SOMGD_HideVerticalScrollBar
  389.     #if defined _HideVerticalScrollBar || defined __HideVerticalScrollBar
  390.         #undef _HideVerticalScrollBar
  391.         #undef __HideVerticalScrollBar
  392.         #define SOMGD_HideVerticalScrollBar 1
  393.     #else
  394.         #define _HideVerticalScrollBar HIScrollingPanel_HideVerticalScrollBar
  395.     #endif /* _HideVerticalScrollBar */
  396. #endif /* SOMGD_HideVerticalScrollBar */
  397.  
  398. /*
  399.  * New Method: IsVerticalScrollBarVisible
  400.  */
  401. typedef boolean   (SOMLINK *somTD_HIScrollingPanel_IsVerticalScrollBarVisible)(HIScrollingPanel *somSelf, Environment *ev);
  402. #define somMD_HIScrollingPanel_IsVerticalScrollBarVisible "::HIScrollingPanel::IsVerticalScrollBarVisible"
  403. #define HIScrollingPanel_IsVerticalScrollBarVisible(somSelf,ev) \
  404.     (SOM_Resolve(somSelf, HIScrollingPanel, IsVerticalScrollBarVisible) \
  405.     (somSelf,ev))
  406. #ifndef SOMGD_IsVerticalScrollBarVisible
  407.     #if defined _IsVerticalScrollBarVisible || defined __IsVerticalScrollBarVisible
  408.         #undef _IsVerticalScrollBarVisible
  409.         #undef __IsVerticalScrollBarVisible
  410.         #define SOMGD_IsVerticalScrollBarVisible 1
  411.     #else
  412.         #define _IsVerticalScrollBarVisible HIScrollingPanel_IsVerticalScrollBarVisible
  413.     #endif /* _IsVerticalScrollBarVisible */
  414. #endif /* SOMGD_IsVerticalScrollBarVisible */
  415.  
  416. /*
  417.  * New Method: ShowHorizontalScrollBar
  418.  */
  419. typedef void   (SOMLINK *somTD_HIScrollingPanel_ShowHorizontalScrollBar)(HIScrollingPanel *somSelf, Environment *ev);
  420. #define somMD_HIScrollingPanel_ShowHorizontalScrollBar "::HIScrollingPanel::ShowHorizontalScrollBar"
  421. #define HIScrollingPanel_ShowHorizontalScrollBar(somSelf,ev) \
  422.     (SOM_Resolve(somSelf, HIScrollingPanel, ShowHorizontalScrollBar) \
  423.     (somSelf,ev))
  424. #ifndef SOMGD_ShowHorizontalScrollBar
  425.     #if defined _ShowHorizontalScrollBar || defined __ShowHorizontalScrollBar
  426.         #undef _ShowHorizontalScrollBar
  427.         #undef __ShowHorizontalScrollBar
  428.         #define SOMGD_ShowHorizontalScrollBar 1
  429.     #else
  430.         #define _ShowHorizontalScrollBar HIScrollingPanel_ShowHorizontalScrollBar
  431.     #endif /* _ShowHorizontalScrollBar */
  432. #endif /* SOMGD_ShowHorizontalScrollBar */
  433.  
  434. /*
  435.  * New Method: HideHorizontalScrollBar
  436.  */
  437. typedef void   (SOMLINK *somTD_HIScrollingPanel_HideHorizontalScrollBar)(HIScrollingPanel *somSelf, Environment *ev);
  438. #define somMD_HIScrollingPanel_HideHorizontalScrollBar "::HIScrollingPanel::HideHorizontalScrollBar"
  439. #define HIScrollingPanel_HideHorizontalScrollBar(somSelf,ev) \
  440.     (SOM_Resolve(somSelf, HIScrollingPanel, HideHorizontalScrollBar) \
  441.     (somSelf,ev))
  442. #ifndef SOMGD_HideHorizontalScrollBar
  443.     #if defined _HideHorizontalScrollBar || defined __HideHorizontalScrollBar
  444.         #undef _HideHorizontalScrollBar
  445.         #undef __HideHorizontalScrollBar
  446.         #define SOMGD_HideHorizontalScrollBar 1
  447.     #else
  448.         #define _HideHorizontalScrollBar HIScrollingPanel_HideHorizontalScrollBar
  449.     #endif /* _HideHorizontalScrollBar */
  450. #endif /* SOMGD_HideHorizontalScrollBar */
  451.  
  452. /*
  453.  * New Method: IsHorizontalScrollBarVisible
  454.  */
  455. typedef boolean   (SOMLINK *somTD_HIScrollingPanel_IsHorizontalScrollBarVisible)(HIScrollingPanel *somSelf, Environment *ev);
  456. #define somMD_HIScrollingPanel_IsHorizontalScrollBarVisible "::HIScrollingPanel::IsHorizontalScrollBarVisible"
  457. #define HIScrollingPanel_IsHorizontalScrollBarVisible(somSelf,ev) \
  458.     (SOM_Resolve(somSelf, HIScrollingPanel, IsHorizontalScrollBarVisible) \
  459.     (somSelf,ev))
  460. #ifndef SOMGD_IsHorizontalScrollBarVisible
  461.     #if defined _IsHorizontalScrollBarVisible || defined __IsHorizontalScrollBarVisible
  462.         #undef _IsHorizontalScrollBarVisible
  463.         #undef __IsHorizontalScrollBarVisible
  464.         #define SOMGD_IsHorizontalScrollBarVisible 1
  465.     #else
  466.         #define _IsHorizontalScrollBarVisible HIScrollingPanel_IsHorizontalScrollBarVisible
  467.     #endif /* _IsHorizontalScrollBarVisible */
  468. #endif /* SOMGD_IsHorizontalScrollBarVisible */
  469. #ifndef SOM_DONT_USE_INHERITED_MACROS
  470. #define HIScrollingPanel_GetEmbeddingParent HIPanel_GetEmbeddingParent
  471. #define HIScrollingPanel_InitPanel HIPanel_InitPanel
  472. #define HIScrollingPanel_RegisterInterestInAppleEvent HIPanel_RegisterInterestInAppleEvent
  473. #define HIScrollingPanel_HasValidContent HIPanel_HasValidContent
  474. #define HIScrollingPanel_GetDeepCollectionItemData HIPanel_GetDeepCollectionItemData
  475. #define HIScrollingPanel_GetWindow HIObject_GetWindow
  476. #define HIScrollingPanel_GetPort HIObject_GetPort
  477. #define HIScrollingPanel_GetRefLabel HIObject_GetRefLabel
  478. #define HIScrollingPanel_GetCollection HIObject_GetCollection
  479. #define HIScrollingPanel_Init HIObject_Init
  480. #define HIScrollingPanel_Terminate HIObject_Terminate
  481. #define HIScrollingPanel_Clone HIObject_Clone
  482. #define HIScrollingPanel_Release HIObject_Release
  483. #define HIScrollingPanel_GetOwnerCount HIObject_GetOwnerCount
  484. #define HIScrollingPanel_InitFromAERecord HIObject_InitFromAERecord
  485. #define HIScrollingPanel_WriteToAERecord HIObject_WriteToAERecord
  486. #define HIScrollingPanel_CalculateOptimalSize HIObject_CalculateOptimalSize
  487. #define HIScrollingPanel_GetBoundingRect HIObject_GetBoundingRect
  488. #define HIScrollingPanel_SetBoundingRect HIObject_SetBoundingRect
  489. #define HIScrollingPanel_SetPosition HIObject_SetPosition
  490. #define HIScrollingPanel_SetSize HIObject_SetSize
  491. #define HIScrollingPanel_GetUpdateRect HIObject_GetUpdateRect
  492. #define HIScrollingPanel_Enable HIObject_Enable
  493. #define HIScrollingPanel_Disable HIObject_Disable
  494. #define HIScrollingPanel_IsEnabled HIObject_IsEnabled
  495. #define HIScrollingPanel_Show HIObject_Show
  496. #define HIScrollingPanel_Hide HIObject_Hide
  497. #define HIScrollingPanel_IsVisible HIObject_IsVisible
  498. #define HIScrollingPanel_HandleAppleEvent HIObject_HandleAppleEvent
  499. #define HIScrollingPanel_HandleActivate HIObject_HandleActivate
  500. #define HIScrollingPanel_HandleDeactivate HIObject_HandleDeactivate
  501. #define HIScrollingPanel_HandleNavigation HIObject_HandleNavigation
  502. #define HIScrollingPanel_HandleMouseDownInContent HIObject_HandleMouseDownInContent
  503. #define HIScrollingPanel_HandleMouseMovedInContent HIObject_HandleMouseMovedInContent
  504. #define HIScrollingPanel_HandleMouseStoppedMovingInContent HIObject_HandleMouseStoppedMovingInContent
  505. #define HIScrollingPanel_HandleMouseUpInContent HIObject_HandleMouseUpInContent
  506. #define HIScrollingPanel_TakeUserInputFocus HIObject_TakeUserInputFocus
  507. #define HIScrollingPanel_ReleaseUserInputFocus HIObject_ReleaseUserInputFocus
  508. #define HIScrollingPanel_HasUserInputFocus HIObject_HasUserInputFocus
  509. #define HIScrollingPanel_CanReleaseUserInputFocus HIObject_CanReleaseUserInputFocus
  510. #define HIScrollingPanel_SetUserInputFocusFlags HIObject_SetUserInputFocusFlags
  511. #define HIScrollingPanel_GetUserInputFocusFlags HIObject_GetUserInputFocusFlags
  512. #define HIScrollingPanel_SetTitle HIObject_SetTitle
  513. #define HIScrollingPanel_GetTitle HIObject_GetTitle
  514. #define HIScrollingPanel_Draw HIObject_Draw
  515. #define HIScrollingPanel_Erase HIObject_Erase
  516. #define HIScrollingPanel_Invalidate HIObject_Invalidate
  517. #define HIScrollingPanel_GetDrawingMode HIObject_GetDrawingMode
  518. #define HIScrollingPanel_SetDrawingMode HIObject_SetDrawingMode
  519. #define HIScrollingPanel_SetBackgroundPattern HIObject_SetBackgroundPattern
  520. #define HIScrollingPanel_GetBackgroundPattern HIObject_GetBackgroundPattern
  521. #define HIScrollingPanel_Cut HIObject_Cut
  522. #define HIScrollingPanel_Copy HIObject_Copy
  523. #define HIScrollingPanel_Paste HIObject_Paste
  524. #define HIScrollingPanel_Clear HIObject_Clear
  525. #define HIScrollingPanel_GetClipboardSupportFlags HIObject_GetClipboardSupportFlags
  526. #define HIScrollingPanel_AddStateChangeCallback HIObject_AddStateChangeCallback
  527. #define HIScrollingPanel_RemoveStateChangeCallback HIObject_RemoveStateChangeCallback
  528. #define HIScrollingPanel_GetHIObjectFromRefLabel HIObject_GetHIObjectFromRefLabel
  529. #define HIScrollingPanel_GetNewHIObject HIObject_GetNewHIObject
  530. #define HIScrollingPanel_GetNewHIObjectFromResource HIObject_GetNewHIObjectFromResource
  531. #define HIScrollingPanel_DrawContent HIObject_DrawContent
  532. #define HIScrollingPanel_EraseContent HIObject_EraseContent
  533. #define HIScrollingPanel_TranslatePoint HIObject_TranslatePoint
  534. #define HIScrollingPanel_TranslateRect HIObject_TranslateRect
  535. #define HIScrollingPanel_StateChanged HIObject_StateChanged
  536. #define HIScrollingPanel_SetClipboardSupportFlags HIObject_SetClipboardSupportFlags
  537. #define HIScrollingPanel_Verify HIObject_Verify
  538. #define HIScrollingPanel_somInit SOMObject_somInit
  539. #define HIScrollingPanel_somUninit SOMObject_somUninit
  540. #define HIScrollingPanel_somDuplicateReference SOMObject_somDuplicateReference
  541. #define HIScrollingPanel_somCompareReference SOMObject_somCompareReference
  542. #define HIScrollingPanel_somRelease SOMObject_somRelease
  543. #define HIScrollingPanel_somFree SOMObject_somFree
  544. #define HIScrollingPanel_somCanDelete SOMObject_somCanDelete
  545. #define HIScrollingPanel_somGetClass SOMObject_somGetClass
  546. #define HIScrollingPanel_somGetClassName SOMObject_somGetClassName
  547. #define HIScrollingPanel_somGetSize SOMObject_somGetSize
  548. #define HIScrollingPanel_somIsA SOMObject_somIsA
  549. #define HIScrollingPanel_somRespondsTo SOMObject_somRespondsTo
  550. #define HIScrollingPanel_somIsInstanceOf SOMObject_somIsInstanceOf
  551. #define HIScrollingPanel_somDispatch SOMObject_somDispatch
  552. #define HIScrollingPanel_somClassDispatch SOMObject_somClassDispatch
  553. #define HIScrollingPanel_somCastObj SOMObject_somCastObj
  554. #define HIScrollingPanel_somResetObj SOMObject_somResetObj
  555. #define HIScrollingPanel_somPrintSelf SOMObject_somPrintSelf
  556. #define HIScrollingPanel_somDumpSelf SOMObject_somDumpSelf
  557. #define HIScrollingPanel_somDumpSelfInt SOMObject_somDumpSelfInt
  558. #endif /* SOM_DONT_USE_INHERITED_MACROS */
  559.  
  560. #endif       /* SOM_HIScrollingPanel_h */
  561.